package com.tnovoselec.android.memory.activity;

import com.tnovoselec.android.memory.R;
import com.tnovoselec.android.memory.R.menu;
import com.tnovoselec.android.memory.fragment.MainFragment;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.NavUtils;

public class SingleGameActivity extends FragmentActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		if (savedInstanceState == null) {
			MainFragment mf = new MainFragment();
			getSupportFragmentManager().beginTransaction().add(android.R.id.content, mf).commit();
		}
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}

}
